package com.ftg.learn.course.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "分页查询课程时传递的数据模型")
public class QueryDto {
    //当前页码
    @Schema(description = "当前页码",defaultValue = "1",example = "1")
    private int pageNum;
    //每页显示条数
    @Schema(description = "每页显示条数",defaultValue = "10",example = "10")
    private int pageSize;
    //课程类型
    @Schema(description = "课程类型")
    private Integer type;
    //分类名称
    @Schema(description = "分类名称")
    private String categoryName;
    //课程名称
    @Schema(description = "课程名称")
    private String name;
    //课程状态
    @Schema(description = "状态")
    private Integer status;
}
